Avoid races between the tooltip and compositor on X and Android
authorPo Lu <luangruo@yahoo.com>
Wed, 19 Jun 2024 02:57:07 +0000 (10:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 19 Jun 2024 02:57:07 +0000 (10:57 +0800)
commit5fceb53856583384e7adeab52494d1afc6eae666
treea94c40922f97e4eb8811c8e868033a5d5bd05f09
parent94be2b2682bc16b15755dca63ef8406018c9f3e9
Avoid races between the tooltip and compositor on X and Android

* java/org/gnu/emacs/EmacsView.java (onLayout): Don't send
exposure events when the window is still to be attached.

* src/androidfns.c (Fx_show_tip):

* src/xfns.c (Fx_show_tip): Block async input around initial
frame update.
java/org/gnu/emacs/EmacsView.java
src/androidfns.c
src/xfns.c